package com.example.xungeng2.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xungeng2.pojo.SendInfo;
import com.example.xungeng2.pojo.Worker;

import java.util.List;

public interface WorkerService extends IService<Worker> {
    Page<Worker> selectPage(long currentPage, long limit);

    boolean insert(Worker worker);

    List<SendInfo> selectInfo(Integer userId);

    Integer findUserClock(Integer userId, String time);

    List<String> findHistoryUserClock(Integer userId);

    void userClock(Integer userId, String time);

    void addUserKQTJ(Integer userId, String realName, String time, String detailTime);

    void updateXGLXSign(Integer userId);

    int selectRWLCNumById(Integer userId);

    Integer selectUserToday(Integer userId, String format);

    void updateUserKQTJ(Integer userId, int num);

    void createUserTask(int parseInt);

    void updateUserTaskNum(int parseInt);
}
